package com.crocodileQ.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分页数据封装返回
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {

    //分页数据
    private List<T> rows;

    private Long total;

}
